﻿@using AutoPartsSearch.Web.HtmlHelpers;
@{
    var @class = "ui-state-default ui-corner-bottom";
    var selectedClass = "ui-state-active";
}
@Html.LanguageButton("en-US",
            Html.ActionLink("English", "ChangeLanguage", "Language", new { lang = "en-US", returnUrl = this.Request.RawUrl }, null).ToHtmlString(),
                        @class + " mrgright25", selectedClass
    )
@Html.LanguageButton("ro-RO",
                Html.ActionLink("Romana", "ChangeLanguage", "Language", new { lang = "ro-RO", returnUrl = this.Request.RawUrl }, null).ToHtmlString(),
                @class, selectedClass
    )
@Html.LanguageButton("ru-RU",
                Html.ActionLink("Русский", "ChangeLanguage", "Language", new { lang = "ru-RU", returnUrl = this.Request.RawUrl }, new { @class = "selected" }).ToHtmlString(),
                @class, selectedClass
    )

